package com.i2works.smartluolong.web.service.common;

import com.i2works.smartluolong.utils.basecommon.BaseCommonService;
import com.i2works.smartluolong.utils.exception.ServiceException;
import com.i2works.smartluolong.web.entity.common.HoliDayDO;
import com.i2works.smartluolong.web.entity.common.HoliDayQuery;

import java.util.List;

/**
 * 节假日业务层
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/6/15 11:33
 */

public interface IHolidayService {

    /**
     * 查询所有列表
     */
    List<String> queryAll(HoliDayQuery query) throws ServiceException;

    /**
     * 删除全部
     */
    void deleteAll() throws ServiceException;

    /**
     * 保存全部
     */
    void saveAll(String[] dateList) throws ServiceException;
}
